import request from '@/utils/request'
export default{
    // 保存信息
    save(form){
        return request({
            url: '/project_source/siteInfo/save',
            method: 'post',
            params: form
        })
    },
    // 获取信息
    openInfo(id){
        return request({
            url: '/project_source/siteInfo/getInfo/'+id,
            method: 'post'
        })
    },
    // 修改信息
    updateInfo(data){
        return request({
            url: '/project_source/siteInfo/updata',
            method: 'post',
            params: data
        })
    },
    // 删除信息
    dels(id){
        return request({
            url: '/project_source/siteInfo/delete/'+id,
            method: 'post',

        })
    },
    // 分页查询
    page(page,limit){
        return request({
            url: '/project_source/siteInfo/page/'+page+'/'+limit,
            method: 'post',
        })
    },
}